Non-volatile memory including selective error correction

ABSTRACT

Some embodiments include apparatuses and methods using a first memory area and a second memory area included a memory device, and using control circuitry included in the memory device to communicate with a memory controller. The memory controller includes an error correction engine. The control circuitry of the memory device is configured to retrieve the first information from the first memory area and store in the first information after the error correction engine performs an error detection operation on the first information. The control circuitry is configured to retrieve second information from the first memory area and store the second information in the second memory area without an additional error detection operation performed on the second information if a result from the error detection operation performed by the error correction engine on the first information meets a threshold condition.

PRIORITY APPLICATION

This application is a continuation of U.S. application Ser. No.16/196,304, filed Nov. 20, 2018, which is a continuation of U.S.application Ser. No. 14/997,164, filed Jan. 15, 2016, now issued as U.S.Pat. No. 10,169,144, all of which are incorporated herein by referencein their entirety.

BACKGROUND

Many electronic systems, such as desktop and laptop computers, servers,cellular phones, and other electronic devices or systems, have a memorydevice to store information (e.g., data). Some memory devices have amemory management operation to maintain reliability and prolong the lifeexpectancy of the memory device. The memory management operation usuallyinvolves moving information from one location in the memory device toanother location in the memory device. In some conventional memorydevices, moving information during such a memory management operationmay be time consuming and increase power consumption.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of an apparatus in the form of a memory moduleincluding a memory device, memory controller, and a connection,according to some embodiments described herein.

FIG. 2A is a block diagram of the memory module of FIG. 1 includinginformation stored in a memory area of a memory device of the memorymodule, according to some embodiments described herein.

FIG. 2B through FIG. 2E show examples of moving information during amemory management operation in the memory module of FIG. 2A, accordingto some embodiments described herein.

FIG. 3 shows an example of the memory device of FIG. 2A afterinformation stored in a memory unit (e.g., a memory block) of the memorydevice is removed, according to some embodiments described herein.

FIG. 4 is a block diagram of an apparatus in the form of a system (e.g.,electronic system) including a memory module, according to someembodiments described herein.

FIG. 5 is a flow diagram showing a method of moving information in amemory module, according to some embodiments described herein.

DETAILED DESCRIPTION

The techniques described herein include a memory module to storeinformation in an electric device or system. The memory module canperform a memory management operation. Examples of the memory managementoperation are a garbage collection operation, a wear-leveling operation,and other memory operations. The memory management operation includesmoving information within the memory module. Moving information involvesretrieving information already stored in one memory area of the memorymodule and then storing that information in another memory area of thememory module.

The memory module described herein can also perform an error correctionoperation to correct errors that may occur in information stored in thememory module. The memory module includes techniques to determinewhether error correction is needed to be performed on information storedin a memory area of the memory module before the information is moved toanother memory area of the memory module during a memory managementoperation. Thus, in some situations during a memory managementoperation, the memory module may skip performing error correction toparticular information if a certain threshold condition (e.g., apre-determined threshold condition) is met for that particularinformation.

As described in more detail below, the memory module includes samplingtechniques to determine whether a certain threshold condition is met forparticular information that is to be moved during a memory managementoperation. The sampling techniques include checking the integrity ofonly a portion the information before the entire information is moved.Based on the sampling of particular information, the memory module candetermine whether a certain threshold condition is met for particularinformation. If the threshold condition is not met, the memory modulemay perform error correction to the entire information before moving it.If the threshold condition is met, the memory module may move the entireinformation without performing the error correction to the information.Thus, the techniques described herein selectively perform errorcorrection on information to be moved during a memory managementoperation. This may save operational time and power consumption in thememory module.

FIG. 1 is a block diagram of an apparatus in the form of a memory module101 including a memory device 110, memory controller 120, and aconnection 105, according to some embodiments described herein. Memorymodule 101 can be used to store information in a computer, memorystorage system, or other electronic devices or system. Memory module 101can be incorporated (e.g., located on a circuit board) in an electronicdevice or system. Alternatively, memory module 101 can include a solidstate drive (SSD).

Memory device 110 included in memory module 101 can include memory areas(e.g., memory arrays) 111 and 112. Each of memory areas 111 and 112 canbe included in (e.g., formed in or formed on) a single die or inmultiple dice. The die can be included in an integrated circuit (IC)chip (e.g., a semiconductor chip).

Each of memory areas 111 and 112 has memory cells (each of the memorycells is labeled as “CELL”). The memory cells in memory area 111 can beincluded in formed in or formed on) the die (or dice) in memory area111. The memory cells in memory area 112 can be included in (e.g.,formed in or formed on) the die (or dice) in memory area 112.

The memory cells in each of memory areas 111 and 112 can be arranged inrows and columns in memory units. Each of the memory units can includeor can be a block of memory cells. As shown in FIG. 1, for example,memory area 111 can include a memory unit 131 (e.g., a block of memorycells) and a memory unit e.g., a block of memory cells) 132. Memory area112 can include a memory unit 133 (e.g., a block of memory cells) and amemory unit (e.g., a block of memory cells) 134. The number of memoryunits between memory areas 111 and 112 can be the same or can bedifferent. Each of the memory units within each of memory areas 111 and112 can be identified by a unique identification (e.g., a uniqueaddress). The unique identification associated with a particular memoryunit can be used to access (e.g., during a read or write operation) thatparticular unit. In a particular memory unit (e.g., 131), informationcan be stored in (or retrieved from) portion of the memory cells (e.g.,fewer than all of the memory cells) in that memory unit (e.g., 131).However, for any individual memory unit (e.g., 131), if any portion ofthe information stored in the memory cells in that particular memoryunit (e.g., 131) is erased, then all information in the memory unit isconcurrently erased. Thus, a memory unit (e.g., one of 131, 132, 133,and 134) in memory areas 111 and 112 can be a smallest erasable portionof memory cells in memory areas 111 and 112 that can be concurrentlyerased.

The memory cells in memory areas 111 and 112 can include non-volatilememory cells. Examples of non-volatile memory cells include flash memorycells, phase change memory cells, ferroelectric random-access memory(FeRAM) cells, magnetoresistive random-access memory (MRAM) cells,resistive random-access memory (RRAM) cells, spin-transfer torque memorycells, or other types of non-volatile memory cells. The memory cells inmemory areas 111 and 112 can be arranged in a NAND-type memoryarrangement.

Each of the memory cells in memory areas 111 and 112 can be configuredas either a single-level cell (SLC) or multiple-level memory cell. Asingle-level cell can store at most one (e.g., only one) bit ofinformation. A multiple-level memory cell can store up to multiple bitsof information. For example, each of the memory cells in memory area 111can be configured as a single-level cell to store at most one bit ofinformation. Each of the memory cells in memory area 112 can beconfigured as a multi-level cell (MLC) to store at most two bits (up totwo bits) of information, a triple-level cell (TLC) to store at mostthree bits (up to three bits) of information, or another configurationto store more than three bits of information. In another example, eachof the memory cells in memory area 111 can be configured to store atleast one bit of information (e.g., one bit of information or multiplebits of information), and each of the memory cells in memory area 112can be configured to store more than one bit of information.

Memory device 110 can include control circuitry 142 to controloperations within memory device 110. Control circuitry 142 can beconfigured (e.g., structured) by hardware, firmware, software, or anycombination of hardware, firmware, and software to perform operationsdescribed herein. Although not shown in FIG. 1, control circuitry 142can include decoders, registers, state machines, latches, drivers,read-only-memory (ROM), and any associated instruction codes (e.g.,algorithms) retained temporarily or permanently in computer-readablememory structures, and other components, to perform the operationsdescribed herein.

Memory device 110 can receive different control information (e.g.,different commands) from memory controller 120 to perform differentoperations. For example, memory device 110 can receive write, read, andmemory management commands from memory controller 120 to perform write,read, and memory management operations, respectively. A write operationincludes storing information in memory device 110 in which theinformation may be provided to memory module 101 by a host (not shown).A read operation includes retrieving information from memory device 110and the providing the retrieved information to the host. A memorymanagement operation includes moving information (which is alreadystored in memory device 110) in from one location (e.g., memory area111) within memory module 101 to another location (e.g., memory area112) within memory module 101.

As shown in FIG. 1, memory device 110 can include conductive path 115coupled to memory areas 111 and 112 and control circuitry 142.Conductive path 115 can include a bus (e.g., an internal bus) used tocarry information within memory device 110 without going throughconnection 105 and without going through memory controller 120. As shownin FIG. 1, memory areas 111 and 112 are include in the same memorydevice 110 and are selectively coupled to each other through conductivepath 115 in memory device 110, in most cases through operation of thememory management function.

Memory controller 120 can be included in (e.g., formed in or formed on)the same die as memory device 110. Alternatively, memory controller 120can be included in a die separated from the die (or dice) where memorydevice 110 is included. Memory controller 120 can include an embeddedmulti-media memory controller (eMMC), which can be a NAND controller oranother type of memory controller.

Memory controller 120 can communicate with a host (not shown) duringwrite operation (e.g., based on write command sent by the host to memorycontroller 120) to receive information (e.g., host data) from the hostand store the received information in memory device 110. Memorycontroller 120 can also communicate with the host during a readoperation (e.g., based on a read command sent by the host to memorycontroller 120) to retrieve information (e.g., host data) from memorydevice 110 and provide retrieved information to the host

Memory controller 120 can also be configured with a combination ofhardware, firmware, and software in order to determine whetherinformation needs to he corrected before storing that information inanother memory area during a memory management operation to moveinformation within memory device 110, without receiving a command (e.g.,a read or write command) from the host.

Memory controller 120 and memory device 110 and can communicate (e.g.,exchange information) with each other through connection 105. Connection105 can include conductive paths that are included in (e.g., conductivepaths formed in or formed on) the die where memory controller 120 and atleast part of memory device 110 (e.g., only a portion of or the entirememory device 110) are located. Alternatively, connection 105 caninclude conductive traces on a circuit board where memory device 110 andmemory controller 120 are located.

As shown in FIG. 1, memory controller 120 can include an errorcorrection engine 122, which can be used to perform error correctionoperation on information stored in memory device 110. Error correctionengine 122 can be configured to detect single bit error or multiple biterrors and correct single bit or multiple bit errors. During a memorymanagement operation in memory module 101, memory controller 120 can use(e.g., cause) error correction engine 122 to perform an operation (e.g.,error detection) on the information stored in memory device 110 todetect whether the information has an error. Error correction engine 122can correct the error if it is detected. FIG. 1 shows error correctionengine 122 being located in memory controller 120 as an example. In analternative arrangement, error correction engine 122 can be located inmemory device 110.

Moving information during a memory management operation in memory module101 includes performing a read operation to retrieve particularinformation from one memory area (e.g., 111) of memory device 110, andthen performing a write operation to store that particular informationin another memory area (e.g., 112) of memory device 110. The read andwrite operations during the memory management operation are internaloperations to move information within memory module 101. Thus, the readand write operations during the memory management operation can beinitiated by memory module 101 without receiving a read or write commandfrom a host to perform the memory management operation. Either memorycontroller 120 or memory device 110 can initiate the memory managementoperation.

As described above, the memory cells in memory area 111 can beconfigured as single-level cells. The memory cells in memory area 111can be configured as multiple-level cells. Thus, the memory cells inmemory area 111 may operate at higher speed than the memory cells inmemory area 112. Plus, as is known to those skilled in the art, athreshold voltage range for a bit of information stored in asingle-level memory cell is usually greater than a threshold voltagerange for a bit of information stored in a multiple-level memory cell.Thus, information stored in single-level memory cells is may be morereliable (have a lower error rate) than information stored inmultiple-level memory cells. Therefore, memory area 111 (which may havea higher operating speed than memory area 112) may be configured as acache memory in memory module 101 to initially store information (e.g.,host data). Then, the infoiniation stored in memory area 111 can bemoved to memory area 112 (which has a higher storage capacity) duringthe memory management operation of memory module 101. Initially storinginformation in memory area 111 and then moving the information to memoryarea 112 allows an efficient use of memory module 101 (e.g., reducedlatency in storing information (e.g., host data) in memory device 110).It also allows both configurations of memory (single-level andmultiple-level cell memory) to be used in memory module 101 and providethe benefits of each to the system.

One of ordinary skill in the art may recognize that a memory module suchas memory module 101 may include other elements, several of which arenot shown in FIG. 1, so as not to obscure the example embodimentsdescribed herein.

FIG. 2A is a block diagram of memory module 101 including informationstored in memory area 111 of memory device 110, according to someembodiments described herein. FIG. 2A shows an example where information(INFO) 231.0, 231.1, 231.n-1, and 231.n has been stored in memory unit131 of memory area 111 in different portions of the memory cells inmemory unit 131. For example, information 231.0, 231.1, 231.n-1, and231.n can be respectively stored in four different groups of memorycells in memory unit 131.

Information stored in each of memory units 131 and 132 can be organizedinto pages of information, Each of the pages of information includes anumber of bits in which each of the bits can have a binary value (e.g.,either binary 0 or binary 1). The number of bits in a page can be storedin a certain group of memory cells. For example, memory unit 131 can hea block of memory cells and information 231.0, 231.1, 231.n-1, and 231.ncan be associated with four pages stored four respective groups ofmemory cells in the block of memory cells. FIG. 2A shows an example ofonly four information 231.0, 231.1, 231.n-1, and 231.n associated withfour pages (e.g., page.0, page.1, page.n-1, and page.n) among the pagesstored in memory unit 131. Any number of pages may be stored in memoryunit 131, consistent with the capacity of the memory device. Forexample, memory unit 131 can store 256 pages (e.g., page.0 throughpage.255), where information 231.0, 231.1, 231.n-1, and 231.n can beassociated with four of the 256 pages. In any examples, the number ofpages stored in memory unit 131 can be proportional to the size of(e.g., the number of memory cells) memory unit 131.

Thus, as described above in the example of FIG. 2A, each of information231.0, 231.1, 231.n-1 and 231.n can be stored in a respective group ofmemory cells of memory unit 131; and each information 231.0, 231.1,231.n-1 and 231.n can be associated with a separate respective page (forexample, page.0, page.1, page.n-1 and page.n) of the pages stored inmemory unit 131.

In some embodiments, different information can be stored in each ofmemory units 131 and 132 of memory area 111 at different times; which inother embodiments, the different information can be stored in memoryunits 131 and 132 concurrently. As an example of storage at differenttimes, information 231.0, 231.1, 231.n-1, and 231.n can each be stored(e.g., sequentially stored) in memory unit 131 at different times. As anexample, information 231.0 can be stored (e.g., oldest page) before allother pages are stored in memory unit 131. Information 231.n (e.g.,newest page) can be stored in memory unit 131 after all other pages arestored in memory unit 131. In the concurrent storage alternative,multiple pages can be concurrently stored in different portions ofmemory cells in memory unit 131. For example, information 231.0 andinformation 231.1 can be stored concurrently (e.g., stored at the sametime) in two different groups of memory cells in memory unit 131.

FIG. 2B through FIG. 2E show examples of moving information during amemory management operation in memory module 101, according to someembodiments described herein. The memory management operation associatedwith FIG. 2B through FIG. 2E samples a portion of information stored inmemory unit 131 and performs an operation (e.g., error detectionoperation) on the sampled portion. Sampling a portion of informationstored in memory unit 131 includes retrieving fewer than all pages(e.g., fewer than all of information 231.0, 231.1 231.n-1, and 231.n, inthe present example) stored in memory unit 131. Thus, the operation(e.g., error detection operation) performed on the sampled portion isperformed on fewer than all pages stored in memory unit 131.

Based on the result of the operation on sampled portion, the memorymanagement operation determines whether to perform error correction onthe entire information (or alternatively, the rest of the information)stored in memory unit 131 before moving the information to anothermemory unit in memory area 112. Thus, error correction may or may not beperformed on information stored in memory unit 131 before theinformation is moved. For example, if the result of the operation on thesampled portion has one value (e.g., the result indicates a certainpre-determined threshold condition is not met), then error correctionmay he performed on the information (in order to correct an error in theinformation) stored in memory unit 131 before the information is moved.If the result of the operation on the sampled portion has another value(e.g., the result indicates a certain pre-determined threshold conditionis met), then error correction may be skipped. In this case, theinformation stored in memory unit 131 can be moved to memory area 112without the error correction being performed on the information storedin memory unit 131.

As shown in FIG. 2B, memory device 110 can retrieve information 231.0from memory unit 131 and provide information 231.0 to memory controller120 through connection 105. Memory controller 120 can receiveinformation 231.0 and use error correction engine 122 to perform anoperation (e.g., an error detection operation) on information 231.0 todetermine whether information 231.0 has an error. A particularinformation (e.g., 231.0) is determined to have an error if thatparticular has a single erroneous bit or multiple erroneous bits. InFIG. 2B, if the error is detected in information 231.0 by errorcorrection engine 105, memory controller 120 can determine the number(quantity) of erroneous bits in information 231.0. Memory controller 120can also use error correction engine 122 to perform an operation (e.g.,an error correction operation) on information 231.0 to correct the errorif the error is detected in information 231.0. In some cases, errorcorrection engine 122 may be used to correct any hit error detected; oralternatively may be used to correct only certain types or certainmultiples of detected bit errors.

The error detection, correction, or both, performed on a particularinformation (e.g., information 231.0) associated with FIG. 2B throughFIG. 2E can include decoding and encoding that, particular information.In FIG. 2B, after performing the operation (e.g., detection, correction,or both) on information 231.0, memory controller 120 providesinformation 231.0′ to memory device 110 through connection 105. Memorydevice 110 receives information 231.0′ and stores it in memory unit 131of memory area 112.

The value of information 231.0′ provided by memory controller 120 isbased on the value of information 231.0. For example, if no error isdetected in information 231.0, then information 231.0′ can have the samevalue as information 231.0. If an error is detected in information231.0, then information 231.0′ can have a corrected value of information231.0. The corrected value of information 231.0 is the original value ofinformation 231.0 (before the occurrence of the error).

In FIG. 2C, the operations of memory device 110 and memory controller120 are similar to the operations associated with FIG. 2B except that adifferent portion of information (e.g., a different page) stored inmemory unit 131 is sampled (e.g., checked). As shown in FIG. 2C, memorycontroller 120 can receive information 231.n and use error correctionengine 122 to perform an operation (e.g., an error detection operation)on information 231.n to determine whether information 231.n has anerror. If the error is detected in information 231.n, memory controller120 can determine the number (quantity) of erroneous hits in information231.n. Memory controller 120 can also use error correction engine 122 toperform an operation (e.g., an error correction operation) oninformation 231.n to correct the error if the error is detected ininformation 231.n.

After performing the operation (e.g., detection, correction, or both) oninformation 231.n, memory controller 120 provides information 231.n′ tomemory device 110 through connection 105. Memory device 110 receivesinformation 231.n′ and stores it in memory unit 131 of memory area 112,

The value of information 231.n′ provided by memory controller 120 isbased on the value of information 231.n. For example, if no error isdetected in information 231.n, then information 231.n′ can have the samevalue as information 231.n. If an error is detected in information231.n, then information 231.n′ can have a corrected value of information231.n. The corrected value of information 231.n is the original value ofinformation 231.n (before the occurrence of the error).

As shown in FIG. 2C, if the error is detected in information 231.n,memory controller 120 can determine the number (quantity) of erroneousbits, which is the number of particular bits (among bits included ininformation 231.n) that have the error.

Memory controller 120 can compare the number of erroneous bits in eachof information 231.0 and 231.n with a threshold value (e.g., apredetermined value). Based on the comparison, memory controller 120 candetermine whether the number of erroneous bits in each of information231.0 and 231.n is greater than the threshold value. The threshold valuecan be programmable in memory module 101. The threshold value may bechanged during the life of memory module 101. For example, the thresholdvalue may be set at a lower value when memory module 101 is initiallyused (e.g., new memory module 101). Then, the threshold value may bechanged (e.g., automatically changed by memory module 101) to a highervalue as time goes on in the use of the memory module 101.

Based on whether the result of the comparison meets a thresholdcondition, memory device 110 and memory controller 120 can eitherperform (e.g., apply) the error detection and corrections on the rest ofinformation stored in 131 or skip (not apply) the error detection andcorrections for the rest of information stored in 131. In some examples,the threshold condition may simply be a number of errors. For example,if the threshold condition is set at E bits, where E is an integer(e.g., E=4), and if the number of detected error bits in each ofinformation 231.0 and 231.n is not greater than E (e.g., 4 bits orfewer), then error detection and correction on the rest of informationstored in memory unit 131 will be skipped.

Thus, in the above examples, if the number of erroneous bits is greaterthan the threshold value (e.g., a pre-determined threshold condition isnot met), then memory device 110 and memory controller 120 can performthe error detection and corrections on the rest of information stored in131. In this example, then memory device 110 and memory controller 120can move rest of the information (e.g., 231.1 and 231.n-1) from memoryarea 111 to memory are 111 in ways similar to the operations forinformation 231.0 and information 231.n, as described above. Forexample, memory device 110 and memory controller 120 perform the errordetection (and error correction if needed) on the rest of theinformation (e.g., 231.1 and 231.n-1) in memory area 111 before storingthe rest of information from memory area 111 in memory area 112

In another example, if the number of erroneous bits is not greater thanthe threshold value, which also means that the number of erroneous bitsis less than or equal to the threshold value, (e.g., a pre-determinedthreshold condition is not met), then memory device 110 and memorycontroller 120 can skip the error detection and corrections for the restof information stored in 131. In this example, rest of information(e.g., 231.1 and 231.n-1) stored in memory unit 131 can be moveddirectly from memory area 111 to memory area 112 without providing therest of information to memory controller 120.

If the number of erroneous bits is not greater than the threshold valueafter the operation (e.g., error detection, error correction, or both)performed on information 231.0 and information 231.n, memory controller120 may generate an indication (e.g., a “bypass” command) and providesuch an indication to memory device 110. The indication allows memorydevice 110 to directly move the rest of information from memory unit 131to memory area 112 without providing the rest of the information frommemory unit 131 to memory controller 120 (e.g., bypassing memorycontroller 120).

The description associated with FIG. 2D and FIG. 2E describes exampleoperations of memory device 110 and memory controller 120 where thenumber of erroneous bits is not greater than the threshold value (i.e.,the number of erroneous bits less than or equal to the threshold value).Thus, as shown in FIG. 2D and FIG. 2E, information (e.g., 231.1 and231.n-1) can be moved directly from memory area 111 to memory area 112without providing the rest of information to memory controller 120.

In FIG. 2D, memory device 110 can retrieve information 231.1 from memoryunit 131, then store information 231.1 in memory unit 133 of memory area112 without providing information 231.1 to memory controller 120. Thus,as shown in FIG. 2D, information 231.1 goes through conductive path 115between memory areas 111 and 112 without going through connection 105.

In FIG. 2E, memory device 110 can retrieve information 231.n-1 frommemory unit 131 and then store information 231.n-1 in memory unit 133 ofmemory area 112 without providing information 231.n-1 to memorycontroller 120. Thus, as shown in FIG. 2E, information 231.1 goesthrough conductive path 115 between memory areas 111 and 112 withoutgoing through connection 105.

Thus, as described above, if a result from the error detection operationmeets a threshold condition (e.g., if the number of erroneous bits eachof information 231.0 and 231.n is at not greater than the thresholdvalue), memory device 110 can retrieve information 231.1 and 231.n-1 andstore them directly in memory area 112 without an error detectionoperation (and without an error correction) performed on information231.1 and 231.n-1.

In the description associated with FIG. 2D and FIG. 2E, information231.0′, 231.n′, 231.1, and 231.n-1 may be stored in memory unit 133 in adifferent way from memory unit 131. For example, if each of each ofmemory cells in memory area 112 is configured to store up to two hits ofinformation, then two bits from two different pages can be stored in thesame memory cell (e.g., single memory cell) of memory unit 133. Thus,two different pages of information can be stored in the same portion(e.g., same group) of memory cells in memory unit 133. For example, inFIG. 2E, two of information 231.0′, 231.n′, 231.1, and 231.n-1 (e,g.,231.0′ and 231.n′) can be stored in the same group of memory cells inmemory unit 133. In another example, if each of each of memory cells inmemory area 112 is configured to store up to three bits of information,then three bits from three different pages can be stored in the samememory cell (e.g., single memory cell) of memory unit 133. Thus, threedifferent pages of information can be stored in the same portion (e.g.,same group) of memory cells in memory unit 133. For example, in FIG. 2E,three of information 231.0′, 231.n′, 231.1, and 231.n-1 (e.g., 231.0′,231.n′, and 231.1,) can be stored in the same group of memory cells inmemory unit 133.

In the above description, with reference to FIG. 2A through FIG. 2E, theoldest information (e.g., 231.0) and the newest information (e.g., twopages) are sampled as an example. However, other portions of informationstored in memory unit 131 may be sampled. Further, as described withreference to FIG. 2A through FIG. 2E, only two pages are sampled,however, another number of pages can be used for sampling.

FIG. 3 shows an example of memory device 110 after information stored inmemory unit 131 is removed, according to some embodiments describedherein. In the example of FIG. 3, memory device 110 may perform an eraseoperation to erase (e.g., concurrently erase) information 231.0, 231.1,231.n-1, and 231.n from memory unit 131. The erase operation can be partof (e.g., at the end of) the memory management operation described abovewith reference to FIG. 2A through FIG. 2E.

FIG. 4 is a block diagram of an apparatus in the form of a system (e.g.,electronic system) 400, according to some embodiments described herein.System 400 can include or be included in a computer, a memory storagesystem, or other types of electronic systems. As shown in FIG. 4, system400 can include a memory module 401 (which can include an SSD), a host415, a system memory 425, a system memory controller 435, a graphicscontroller 437, an input and output (I/O) controller 451, a display 452,a keyboard 454, a pointing device 456, at least one antenna 458, and abus 460.

As shown in FIG. 4, memory module 401 can include a memory device 410and a memory controller 420 and a connection 405, which can correspondto memory device 110, memory container 120, connection 105,respectively, of FIG. 1. Memory module 401 can be configured to operatein ways similar to, or the same as, memory module 101 of FIG. 1.

Memory module 401 can also include a host interface 440 to communicatewith host 415. Host interface 440 can include components (e.g.,connectors and circuitry) that comply with Peripheral ComponentInterconnect Express (PCIe) specification, Serial Advanced TechnologyAttachment (SATA) specification, Serial Attached Small Computer SystemInterface (SAS) specification, InfiniBand specification, Ethernetspecification, Fibre Channel specification, or other specifications.Thus, host interface 440 can include a connector having a form factor(e.g., physical dimension and conductive terminals) complying with PCIe,SATA, SAS, InfiniBand, Ethernet (e.g., 10G/40G/100G Ethernet), FibreChannel, or other specifications.

Host 415 may include a central processing unit (CPU), which can be partof a general-purpose processor or part of an application specificintegrated circuit (ASIC). System memory 425 may include a dynamicrandom access memory (DRAM) device, a static random access memory (SRAM)device, a flash memory device, or a combination of these memory devices.I/O controller 451 can include a communication memory module for wiredor wireless communication (e.g., communication through one or moreantennas 458). Display 452 can include a liquid crystal display (LCD), atouchscreen (e.g., capacitive or resistive touchscreen), or another typeof display. Pointing device 456 can include a mouse, a stylus, oranother type of pointing device.

FIG. 4 shows the components of system 400 arranged separated from eachother as an example. In some arrangements, two or more components ofsystem 400 can be located on the same die (e.g., same IC chip).

FIG. 5 is a flow diagram showing a method 500 of moving information in amemory module, according to some embodiments described herein. Method500 can be part of an algorithm to move information in the memory moduleand can be performed by the memory module, which can include memorymodule 101 or 401 described above with reference to FIG. 1 through FIG.4. Some or all of the activities in method 500 can be implemented bysoftware, firmware, hardware, or any combination of software, firmware,and hardware.

As shown in FIG. 5, activity 510 of method 500 can include retrieving apage (e.g., page.0) from a memory unit (e.g., a memory block) in amemory device of the memory module. The page can be among a number ofpages (e.g., page.0 through page.n) of information already stored inmemory unit. The pages in method 500 can correspond to information231.0, 231.1, 231.n-1, and 231.n of FIG. 2A.

In FIG. 5, activity 520 can include performing an operation on the pageretrieved in activity 510. The operation in activity 520 can include anerror detect operation to determine whether the page has an error.Activity 530 can include determining whether an error value of the erroris greater than a threshold value. The error value can include a number(quantity) of erroneous bits in the page. Activity 530 can includecomparing the number of erroneous bits in the page with the thresholdvalue. Based on the comparison, activity 530 provides a result. Theresult can have one value to indicate that the number of erroneous bitsis not greater than (e.g., less than or equal to) the threshold value(e.g., a pre-determined threshold condition is met). In this case,method 500 can continue with activity 540. The result can have anotherindication (e.g., another value) to indicate that the number oferroneous bits is greater than the threshold value (e.g., apre-determined threshold condition is not met). In this case, method 500can continue with activity 550. If no error is detected in the page inactivity 520, the result from activity 520 can also have the value thatindicates that the number of erroneous bits is not greater than (e.g.,less than or equal to) the threshold value. In this case, method 500 canalso continue with activity 540.

Activity 550 can include determining whether a criterion to correctinformation in the entire memory is satisfied. The criterion can bebased on whether enough number of pages in the memory unit have gonethrough the operation (e.g., error detection operation) in activity 520.

If the criterion in activity 550 is satisfied, method 500 can continuewith activity 555 to correct information in the entire memory unitbefore storing the information in another (e.g., new) memory unit.Activity 555 can include performing an error correction operation tocorrect errors in the pages in the entire memory unit. Then, method 500can continue with activity 557 to store the pages (e.g., correctedpages) in another memory unit (e.g., a new memory unit) after the errorsin the pages are corrected.

If the criterion in activity 550 is not satisfied, then method 500 cancontinue with activity 560. As an example, the criterion is notsatisfied if there are not enough pages in the memory unit have gonethrough the operation (e.g., error detection operation) in activity 520.Activity 560 can include retrieving another page (e.g., page.n) amongthe pages in the memory unit. Method 500 can repeat activity 520 and atleast one of other activities of method 500.

As described above, method 500 can perform activity 540 if the result ofthe operation in activity 520 indicates that the number of erroneousbits is greater than the threshold value or if no error is detected inthe page in activity 520. Activity 540 can include updating (e.g.,increasing) a counter value. Method 500 may initially set the countervalue to be zero at the beginning of the operation of moving information(e.g., pages) from one memory unit to another memory unit. The countervalue indicates the number of pages (e.g., sampled pages) that have beenretrieved from the memory unit. The counter value can be used todetermine whether a predetermined number of pages (e.g., sampled pagesto be checked for error) is reached.

Activity 545 can include determining whether to retrieve another page inaddition to the page (or pages) that has (or have) gone through theoperation (e.g., error detection operation) in activity 520. Forexample, if the counter value does not reach a predetermined value, thenmethod 500 can continue to repeat activity 510 to retrieve another page(e.g., page.n) in the memory unit and repeat activity 520 and at leastone of the other activities of method 500.

If the counter value reaches a predetermined value, then method 500 canperform activity 547. Activity 547 can include storing the pages inanother memory unit without performing an error correction operation onthe pages.

The pages that are selected to be retrieved from the memory unit candepend on the usage of the memory unit of the memory device in method500. For example, the pages selected to be retrieved from the memoryunit may be identified as worst-case pages for sampling, such as theoldest page (e.g., page.0) and the last page (e.g., page.n) that wasstored in the memory unit. As an example, if the memory unit can store256 pages in the order from page.0 (first page to be stored) throughpage.255 (last page to be stored), then the oldest page in this exampleis page.0, and the last page (e.g., newest) in this example is page.255.

In method 500, only two pages (e.g., the oldest page and the last page)may be selected to be checked (e.g., sampled) for error (to go throughthe error detection operation in activity 520) in order to determinewhether pages in the entire memory unit are to be checked for errors(and correct the errors) before moving the pages to another memory unit.Alternatively, more than two pages can be selected for sampling. Thenumber of pages to be selected for the sampling can be programmable andcan be based on the memory unit (block) architecture and pagecharacteristics of the memory device.

Method 500 can include additional activities described above withreference to FIG. 1 through FIG. 4, such as activities and operations ofmemory module 101 or 401.

The illustrations of the apparatuses (e.g., memory module 101 and system400) and methods (e.g., method 500 operations performed by memory module101 and system 400) are intended to provide a general understanding ofthe structure of various embodiments and are not intended to provide acomplete description of all the elements and features of an apparatusthat might make use of the structures described herein.

The apparatuses (e.g., memory module 101 and system 400) described abovecan include or be included in high-speed computers, communication andsignal processing circuitry, single- or multi-processor modules, singleor multiple embedded processors, multi-core processors, messageinformation switches, and application-specific modules includingmultilayer, multi-chip modules. Such apparatuses may further be includedas sub-components within a variety of other apparatuses (e.g.,electronic systems), such as televisions, cellular telephones, personalcomputers (e.g., laptop computers, desktop computers, handheldcomputers, tablet computers, etc.), workstations, radios, video players,audio players (e.g., MP3 (Motion Picture Experts Group, Audio Layer 3)players), vehicles, medical devices (e.g., heart monitor, blood pressuremonitor, etc.), set top boxes, and others.

The embodiments described above with reference to FIG. 1 through FIG. 4,include apparatuses and methods using a first memory area and a secondmemory area in a memory device, and using control circuitry included inthe memory device to communicate with a memory controller. The memorycontroller includes an error correction engine. The control circuitry ofthe memory device is configured to retrieve the first information fromthe first memory area and store in the first information after the errorcorrection engine performs an error detection operation on the firstinformation, as described above. The control circuitry is configured toretrieve second information from the first memory area and store thesecond information in the second memory area without an additional errordetection operation performed on the second information if a result fromthe error detection operation performed by the error correction engineon the first information meets a threshold condition. Other embodiments,including additional apparatuses and methods, are described.

The above description and the drawings illustrate some embodiments toenable those skilled in the art to practice the embodiments of theinvention. Other embodiments may incorporate structural, logical,electrical, process, and other changes. Examples merely typify possiblevariations. Portions and features of some embodiments may be includedin, or substituted for, those of other embodiments. Many otherembodiments will be apparent to those of skill in the art upon readingand understanding the above description.

What is claimed is:
 1. A method comprising: retrieving, using aprocessing device, first information from a first portion of a memorycomponent; storing, using the processing device, the first informationin a first additional portion of the memory component after an errordetection operation is performed on the first information; retrieving,using the processing device, second information from a second portion ofthe memory component after the error detection operation is performed onthe first information; and storing, using the processing device, thesecond information in an additional second portion of the memorycomponent after the error detection operation is performed on the secondinformation based on a result from the error detection operationperformed on the first information.
 2. The method of claim 1, whereinthe result from the error detection operation performed on the firstinformation indicates whether a threshold condition is met.
 3. Themethod of claim 1, wherein the result from the error detection operationperformed on the first information indicates that the first informationhas no erroneous bits.
 4. The method of claim 1, wherein the result fromthe error detection operation performed on the first informationindicates that the first information has a number of erroneous bits, andthe number of erroneous bits is not greater than a predetermined number.5. The method of claim 1, further comprising: retrieving thirdinformation from a third portion of the memory component; and storingthe third information in an additional third portion of the memorycomponent after no error detection operation is performed on the thirdinformation based on the result from the error detection operationperformed on the first information.
 6. The method of claim 1, whereinthe first portion of the memory component includes first memory cells,the first additional portion of the memory component includes firstadditional memory cells, each of the first memory cells is configured tostore at most one bit of information, and each of the first additionalmemory cells is configured to store multiple bits of information.
 7. Themethod of claim 6, wherein the second portion of the memory componentincludes second memory cells, the second additional portion of thememory component includes second additional memory cells, each of thesecond memory cells is configured to store at most one bit ofinformation, and each of the second additional memory cells isconfigured to store multiple bits of information.
 8. The method of claim7, wherein the first memory cells and the second memory cells areincluded in a same erasable memory block.
 9. The method of claim 8,wherein the first additional memory cells and the second additionalmemory cells are included in an erasable memory block different from theerasable memory block that includes the first memory cells and thesecond memory cells.
 10. The method of claim 7, further comprising:storing the first information in the first portion of the memorycomponent before retrieving the first information from the first portionof the memory component; and storing the second information in thesecond memory cells after the first information is stored in the firstmemory cells and before retrieving the second information from the firstportion of the memory component.
 11. The method of claim 1, whereinretrieving the first information is performed during a garbagecollection operation of the memory component.
 12. A method comprising:retrieving, using a processing device, first information from a firstmemory area of a memory component; performing, using the processingdevice, an error detection operation on the first information; providingthe first information to the memory component for storing the firstinformation in a second memory area of the memory component afterperforming the error detection operation on the first information;performing, using the processing device, the error detection operationon second information stored in the first memory area based on a resultfrom the error detection operation performed on the first information;and providing an indication to the memory component for allowing thememory component to retrieve second information from the first memoryarea and to store the second information in the second memory area. 13.The method of claim 12, wherein the result from the error detectionoperation performed on the first information indicates that the firstinformation has no erroneous bits.
 14. The method of claim 12, whereinthe result from the error detection operation performed on the firstinformation indicates that the first information has a number oferroneous bits, and the number of erroneous bits is not greater than apredetermined number.
 15. The method of claim 12, further comprising:performing an error correction operation on the first information afterretrieving the first information and before providing the firstinformation to the memory component.
 16. The method of claim 12, whereinretrieving the first information is performed without receiving acommand from a host to retrieve the first information.
 17. A methodcomprising: retrieving, at a processing device, first information from amemory component coupled to the processing device; performing, at theprocessing device, an error detection operation on the firstinformation; providing the first information from the processing deviceto the memory component; storing the first information in the memorycomponent; retrieving, at the processing device, second information fromthe memory component; performing an additional error detection operationon the second information based on a result of the error detectionoperation performed on the first information; providing the secondinformation from the processing device to the memory component; andstoring the second information in the memory component.
 18. The methodof claim 17, wherein the processing device is located on a die and thememory component is located on the die.
 19. The method of claim 17,wherein the processing device is located on a first die and the memorycomponent is located on a second die.
 20. The method of claim 17,wherein the processing device and the memory component are included in asolid state drive.